
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to top, #000000, #17216b);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}


/* TITRE */

#titreaccueil {
    text-align: center;
    margin-top: clamp(20px, 15vh, 5px);
    margin-bottom: clamp(24px, 4vw, 60px);
    color: white;
    font-size: clamp(18px, 2.5vw, 28px);
    letter-spacing: 2px;
}

/* MENU */

.menu-barre {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    display: flex;
    flex-wrap: wrap;            /* passe à la ligne sur petit écran */
    justify-content: space-between;
    align-items: center;
    padding: clamp(8px, 1.5vw, 15px);
    width: 90%;
    margin: 0 auto clamp(32px, 6vw, 10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.menu-barre a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: clamp(8px, 1.2vw, 12px) clamp(8px, 1.2vw, 15px);
    border-radius: 8px;
    flex: 1;
    min-width: 100px;           /* évite que les liens deviennent trop étroits */
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: clamp(13px, 1.2vw, 16px);
}

/* Soulignement menu */

.menu-barre a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: 5px;
    left: 50%;
    background: white;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.menu-barre a:hover::after {
    width: 60%;
}

/* Effet élévation */

.menu-barre a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
/* Contenue */
.hero {
    height: 45vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, #1e293b, #0f172a);
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    color: #94a3b8;
    margin-top: 10px;
}

.badge {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background: rgba(56,189,248,0.2);
    border: 1px solid #38bdf8;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* INTRO */
.intro {
    text-align: center;
    padding: 40px 20px;
    color: #cbd5e1;
}

/* CARDS */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px 40px;
}

.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s;
    color: #cbd5e1;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.card h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

/* TIMELINE */
.timeline {
    padding: 40px 20px;
}

.timeline h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin: 20px auto;
    max-width: 700px;
    gap: 15px;
    color: #cbd5e1;
}

.dot {
    width: 12px;
    height: 12px;
    background: #38bdf8;
    border-radius: 50%;
    margin-top: 6px;
}

.content {
    background: rgba(30, 41, 59, 0.5);
    padding: 15px;
    border-radius: 10px;
    flex: 1;
}

/* FOOTER */

footer {
    margin-top: auto;
    padding: clamp(14px, 2vw, 25px);
    font-size: clamp(11px, 1vw, 13px);
    text-align: center;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.1);
}



/* ─────────────────────────────
   WRAPPER (mise en page globale)
───────────────────────────── */
.wrapper {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ─────────────────────────────
   TABLEAU
───────────────────────────── */
.tableau-e5 {
  border-collapse: collapse;
  width: 100%;
  background: transparent;
  table-layout: fixed;
  color: #cbd5e1;
}

/* ── Colonnes ── */
.col-a  { width: 18%; }
.col-b  { width: 10%; }
.col-c  { width: 12%; }
.col-d  { width: 12%; }
.col-e  { width: 12%; }
.col-f  { width: 12%; }
.col-g  { width: 12%; }
.col-h  { width: 12%; }

/* ─────────────────────────────
   CELLULES
───────────────────────────── */
.tableau-e5 td {
  background: transparent;
  padding: 4px 6px;
  vertical-align: middle;
  word-wrap: break-word;
}

/* ─────────────────────────────
   TITRES
───────────────────────────── */
.titre-principal {
  font-size: 18pt;
  font-weight: bold;
  text-align: center;
  padding: 10px 6px;
}

.titre-session {
  font-size: 18pt;
  font-weight: bold;
  text-align: center;
}

/* ─────────────────────────────
   INFOS IDENTITÉ
───────────────────────────── */
.identite-label {
  font-size: 14pt;
  font-weight: bold;
  text-align: left;
}

.url-label {
  font-size: 14pt;
  font-weight: bold;
}

/* ─────────────────────────────
   BORDURES
───────────────────────────── */
.b-left-medium  { border-left:   2px solid #50a4ff; }
.b-right-medium { border-right:  2px solid #50a4ff; }
.b-top-medium   { border-top:    2px solid #50a4ff; }
.b-bottom-medium{ border-bottom: 2px solid #50a4ff; }

.b-left-thin  { border-left:   1px solid #50a4ff; }
.b-right-thin { border-right:  1px solid #50a4ff; }
.b-top-thin   { border-top:    1px solid #50a4ff; }
.b-bottom-thin{ border-bottom: 1px solid #50a4ff; }

/* ─────────────────────────────
   EN-TÊTES
───────────────────────────── */
.col-header {
  font-size: 10pt;
  font-weight: bold;
  text-align: center;
  padding: 6px 4px;
}

.col-subheader {
  font-size: 8pt;
  text-align: left;
  padding: 4px;
}

.competences-header {
  font-size: 10pt;
  font-weight: bold;
  text-align: center;
  padding: 6px;
}

/* ─────────────────────────────
   SECTIONS
───────────────────────────── */
.section-titre {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  padding: 6px;
}

/* ─────────────────────────────
   DONNÉES
───────────────────────────── */
.realisation-label {
  font-size: 9pt;
  font-weight: bold;
  text-align: left;
}

.realisation-periode {
  font-size: 9pt;
  text-align: center;
}

.realisation-check {
  font-size: 7pt;
  text-align: center;
}

/* ─────────────────────────────
   OPTIONS (SISR / SLAM)
───────────────────────────── */
.option-label {
  font-size: 14pt;
  font-weight: bold;
}

.option-case {
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
}

/* ─────────────────────────────
   HAUTEURS
───────────────────────────── */
.h-titre   { height: 48px; }
.h-sous    { height: 48px; }
.h-info    { height: 44px; }
.h-header  { height: 100px; }
.h-subh    { height: 280px; }
.h-section { height: 24px; }
.h-data    { height: 44px; }


/* Séparateur */

.separator-thin {
    position: relative; /* ✅ FIX */
    backdrop-filter: blur(10px);
    padding: clamp(20px, 3vw, 40px);
    border-radius: 20px;
    width: 300px;
    margin: 40px auto;
}

.separator-thin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(200px, 50vw, 700px);
    height: 4px;
    background-color: #78868d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}


/* ─────────────────────────────
   RESPONSIVE (important)
───────────────────────────── */
@media screen and (max-width: 1000px) {
  .wrapper {
    padding: 10px;
  }

  .tableau-e5 {
    font-size: 12px;
  }

  .col-subheader {
    font-size: 7pt;
  }
}
